home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / lcppb.zip / LCPPANS.ZIP / MAKEANS < prev    next >
Text File  |  1991-07-08  |  4KB  |  199 lines

  1. #-----------------------------------------------------------------------------
  2. #
  3. # LEARNING C++ (for Borland C++ 2.0)
  4. #
  5. # by Tom Swan
  6. #
  7. # MAKEANS -- Make file for answers to exercises and questions
  8. #
  9. # To compile all programs, make sure C:\BC\BIN is in your
  10. # system path (replace C: with the drive letter where you
  11. # installed Borland C++.) Then enter 
  12. #
  13. #   MAKE -fMAKEANS
  14. #
  15. # Copyright (c) 1991 by Tom Swan. All rights reserved.
  16. #
  17. #-----------------------------------------------------------------------------
  18.  
  19. # IMPORTANT:
  20. # If files DISP.H and DISP.OBJ are not stored in
  21. # \lcppb\lib, change the path in the following definition
  22. # to the location of the two files. Do not end the path
  23. # with a backslash.
  24.  
  25. lib=\lcppb\lib
  26.  
  27.  
  28. # Library and include-file macros. If you change the library
  29. # file name, you'll have to change it in every MAKE file.
  30.  
  31. library=$(lib)\lcpp.lib
  32. include=$(lib)
  33.  
  34.  
  35. # OPTION:
  36. # To examine programs with Turbo Debugger, remove the
  37. # leading # from the beginning of the following command. This
  38. # will increase disk consumption drastically, so you'll
  39. # normally leave the line as is.
  40.  
  41. #debugging = 1
  42.  
  43. # Note: If you change the debugging symbol, delete all .OBJ  
  44. # and .EXE files before remaking.
  45.  
  46.  
  47. # These statements create appropriate macros based on the
  48. # setting of the debugging symbol above. The -v option adds
  49. # debugging information to compiled programs.  
  50.  
  51. !if $d(debugging)
  52. compile=bcc -c -v -I$(include) $(library)
  53. link=bcc -v -I$(include) $(library)
  54. !else
  55. compile=bcc -c -I$(include) $(library)
  56. link=bcc -I$(include) $(library)
  57. !endif
  58.  
  59.  
  60. # --  Force MAKE to recognize various dependencies
  61.  
  62. depends: \
  63. alphabet.exe aquote.exe ask.exe bitdate.exe border.exe \
  64. cblanks.exe circum.exe counts.exe cr2lf.exe cube.exe \
  65. dogcat.exe encrypt.exe fncount.exe fourfps.exe fpmul.exe \
  66. fptable.exe getvals.exe head2.exe limit.exe lstcount.exe \
  67. minmax.exe odd.exe onekey.exe pass2dos.exe prmpt.exe \
  68. puncs.exe putln.exe rain1.exe rain2.exe rect.exe redalert.exe \
  69. row.exe smallwin.exe strheap.exe subdirs.exe tab4.exe \
  70. ticks.exe toupper.exe upfile.exe upperstr.exe words2.exe
  71.  
  72.  
  73. # -- Compile executable programs
  74.  
  75. alphabet.exe: alphabet.cpp
  76.  $(link) alphabet
  77.  
  78. aquote.exe: aquote.cpp
  79.  $(link) aquote
  80.  
  81. ask.exe: ask.cpp
  82.  $(link) ask
  83.  
  84. bitdate.exe: bitdate.cpp
  85.  $(link) bitdate
  86.  
  87. border.exe: border.cpp
  88.  $(link) border
  89.  
  90. cblanks.exe: cblanks.cpp
  91.  $(link) cblanks
  92.  
  93. circum.exe: circum.cpp
  94.  $(link) circum
  95.  
  96. counts.exe: counts.cpp
  97.  $(link) counts
  98.  
  99. cr2lf.exe: cr2lf.cpp
  100.  $(link) cr2lf
  101.  
  102. cube.exe: cube.cpp
  103.  $(link) cube
  104.  
  105. dogcat.exe: dogcat.cpp
  106.  $(link) dogcat
  107.  
  108. encrypt.exe: encrypt.cpp
  109.  $(link) encrypt
  110.  
  111. fncount.exe: fncount.cpp
  112.  $(link) fncount
  113.  
  114. fourfps.exe: fourfps.cpp
  115.  $(link) fourfps
  116.  
  117. fpmul.exe: fpmul.cpp
  118.  $(link) fpmul
  119.  
  120. fptable.exe: fptable.cpp
  121.  $(link) fptable
  122.  
  123. getvals.exe: getvals.cpp
  124.  $(link) getvals
  125.  
  126. head2.exe: head2.cpp
  127.  $(link) head2
  128.  
  129. limit.exe: limit.cpp
  130.  $(link) limit
  131.  
  132. lstcount.exe: lstcount.cpp
  133.  $(link) lstcount
  134.  
  135. minmax.exe: minmax.cpp
  136.  $(link) minmax
  137.  
  138. odd.exe: odd.cpp
  139.  $(link) odd
  140.  
  141. onekey.exe: onekey.cpp
  142.  $(link) onekey
  143.  
  144. pass2dos.exe: pass2dos.cpp
  145.  $(link) pass2dos
  146.  
  147. prmpt.exe: prmpt.cpp
  148.  $(link) prmpt
  149.  
  150. puncs.exe: puncs.cpp
  151.  $(link) puncs
  152.  
  153. putln.exe: putln.cpp
  154.  $(link) putln
  155.  
  156. rain1.exe: rain1.cpp
  157.  $(link) rain1
  158.  
  159. rain2.exe: rain2.cpp
  160.  $(link) rain2
  161.  
  162. rect.exe: rect.cpp
  163.  $(link) rect
  164.  
  165. redalert.exe: redalert.cpp
  166.  $(link) redalert
  167.  
  168. row.exe: row.cpp
  169.  $(link) row
  170.  
  171. smallwin.exe: smallwin.cpp
  172.  $(link) smallwin
  173.  
  174. strheap.exe: strheap.cpp
  175.  $(link) strheap
  176.  
  177. subdirs.exe: subdirs.cpp
  178.  $(link) subdirs
  179.  
  180. tab4.exe: tab4.cpp
  181.  $(link) tab4
  182.  
  183. ticks.exe: ticks.cpp
  184.  $(link) ticks
  185.  
  186. toupper.exe: toupper.cpp
  187.  $(link) toupper
  188.  
  189. upfile.exe: upfile.cpp
  190.  $(link) upfile
  191.  
  192. upperstr.exe: upperstr.cpp
  193.  $(link) upperstr
  194.  
  195. words2.exe: words2.cpp
  196.  $(link) words2
  197.  
  198.  
  199.